package com.aji.service;

import com.aji.dto.IsotopeAddDto;
import com.aji.dto.IsotopeChangeDto;
import com.aji.dto.IsotopeDto;
import com.aji.result.PageResult;
import com.aji.vo.IsotopeBatchVo;
import com.aji.vo.IsotopeByIdVo;
import com.aji.vo.IsotopeRunVo;
import com.aji.vo.IsotopeVo;
import org.springframework.http.ResponseEntity;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface IsotopeService {
    PageResult pageQuery(IsotopeDto isotopeDto,int page,int pageSize);

    void deleteByIds(List<Integer> ids);

    void add(IsotopeAddDto isotopeAddDto);

    void upDate(IsotopeChangeDto isotopeChangeDto,int id);

    IsotopeByIdVo selectById(int id);

    List<IsotopeVo> selectCon(IsotopeDto isotopeDto);

    void trainIso(List<Integer> modelIds) throws IOException, InterruptedException;

    ResponseEntity<List<IsotopeRunVo>> testEle(List<Integer> modelIds, List<Integer> ids) throws IOException, InterruptedException;

    void addBatch(List<IsotopeAddDto> isotopeAddDtoList);

    ResponseEntity<List<IsotopeBatchVo>> uploadFile(MultipartFile file);
}
